POV-Ray : Newsgroups : povray.beta-test : Alpha problems: text is not antialiased : Re: Alpha problems: text is not antialiased Server Time
30 Jul 2024 18:21:54 EDT (-0400)
  Re: Alpha problems: text is not antialiased  
From: Warp
Date: 9 Nov 2001 04:16:06
Message: <3beb9ed6@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
: Yes, as you know, I can turn off the alpha-channel preview.  basically, if
: you look at an image that was rendered then, the plain background will be
: all black because of this.  Obviously the image should still "make sense" if
: no alpha channel is available.  At least in image editing programs it does
: work that way.  And it did work in 3.1...

  Sorry, but I don't follow. What exactly is happening "wrong"?

  IIRC, when using alpha channel, the completely transparent pixels are
colored black by design. Pixels that are half-transparent will not take
into account the color of the background (because basically there is no
background to take color from; the background is transparent) but this
is handled with the alpha channel. That is, the pixel will have the color
of the object(s) and some alpha value (which is used to mix this color
with whatever will be behind). This means that if the alpha value is not
taken into account when drawing the pixel, the edge of objects against
the background will look jagged and non-antialiased. This is completely normal.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.